package de.arnoldmedia.mybookshelf;

import com.skype.SkypeException;

/**
 * @author aarnold
 * @date 21.02.2009
 * @version 1.0
 */
public interface IMyBookshelf {

	/**
	 * Returns the name and version of application
	 * @return
	 */
	public String getName();
	
	/**
	 * Send request for specific ISBN number to all connected peers
	 * @category business method
	 * @param isbn
	 * @throws SkypeException
	 */
	public void find(String isbn) throws SkypeException;

	/** 
	 * React on find request and lookup isbn in local database
	 * @category business method
	 * @param isbn
	 * @return if entry exists
	 */
	public Integer lookUp(String isbn); 
	
}
